package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @Classname ShoppingCartService
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/7/4 15:42
 * @Created by Ren
 */
public interface ShoppingCartService {

    void add(ShoppingCartDTO shoppingCartDTO);

    List<ShoppingCart> list();

    void sub(ShoppingCartDTO shoppingCartDTO);

    void clean();

}
